package cn.net.cfss.fgbp.provider.uid;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;



@EnableCircuitBreaker
@SpringCloudApplication
@ComponentScan(value = {"cn.net.cfss.fgbp.api.uid", "cn.net.cfss.fgbp.base", "cn.net.cfss.fgbp.provider.uid"})//组件扫描
@EnableAsync
public class UidApplication {

    public static void main(String[] args) {
        new SpringApplicationBuilder(UidApplication.class).run(args);
    }

}
